package com.ruoyi.cms.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.cms.mapper.CmsSiteBannerrMapper;
import com.ruoyi.cms.domain.CmsSiteBannerr;
import com.ruoyi.cms.service.ICmsSiteBannerrService;

/**
 * 网站开发信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-08-30
 */
@Service
public class CmsSiteBannerrServiceImpl implements ICmsSiteBannerrService 
{
    @Autowired
    private CmsSiteBannerrMapper cmsSiteBannerrMapper;

    /**
     * 查询网站开发信息
     * 
     * @param id 网站开发信息主键
     * @return 网站开发信息
     */
    @Override
    public CmsSiteBannerr selectCmsSiteBannerrById(Long id)
    {
        return cmsSiteBannerrMapper.selectCmsSiteBannerrById(id);
    }

    /**
     * 查询网站开发信息列表
     * 
     * @param cmsSiteBannerr 网站开发信息
     * @return 网站开发信息
     */
    @Override
    public List<CmsSiteBannerr> selectCmsSiteBannerrList(CmsSiteBannerr cmsSiteBannerr)
    {
        return cmsSiteBannerrMapper.selectCmsSiteBannerrList(cmsSiteBannerr);
    }

    /**
     * 新增网站开发信息
     * 
     * @param cmsSiteBannerr 网站开发信息
     * @return 结果
     */
    @Override
    public int insertCmsSiteBannerr(CmsSiteBannerr cmsSiteBannerr)
    {
        return cmsSiteBannerrMapper.insertCmsSiteBannerr(cmsSiteBannerr);
    }

    /**
     * 修改网站开发信息
     * 
     * @param cmsSiteBannerr 网站开发信息
     * @return 结果
     */
    @Override
    public int updateCmsSiteBannerr(CmsSiteBannerr cmsSiteBannerr)
    {
        return cmsSiteBannerrMapper.updateCmsSiteBannerr(cmsSiteBannerr);
    }

    /**
     * 批量删除网站开发信息
     * 
     * @param ids 需要删除的网站开发信息主键
     * @return 结果
     */
    @Override
    public int deleteCmsSiteBannerrByIds(Long[] ids)
    {
        return cmsSiteBannerrMapper.deleteCmsSiteBannerrByIds(ids);
    }

    /**
     * 删除网站开发信息信息
     * 
     * @param id 网站开发信息主键
     * @return 结果
     */
    @Override
    public int deleteCmsSiteBannerrById(Long id)
    {
        return cmsSiteBannerrMapper.deleteCmsSiteBannerrById(id);
    }
}
